package com.onedec.message.mapper;

import com.onedec.message.entity.OnedecMsg;
import com.onedec.message.entity.OnedecMsgExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OnedecMsgMapper {
    long countByExample(OnedecMsgExample example);

    int deleteByExample(OnedecMsgExample example);

    int deleteByPrimaryKey(Integer msgId);

    int insert(OnedecMsg record);

    int insertSelective(OnedecMsg record);

    List<OnedecMsg> selectByExample(OnedecMsgExample example);

    OnedecMsg selectByPrimaryKey(Integer msgId);

    int updateByExampleSelective(@Param("record") OnedecMsg record, @Param("example") OnedecMsgExample example);

    int updateByExample(@Param("record") OnedecMsg record, @Param("example") OnedecMsgExample example);

    int updateByPrimaryKeySelective(OnedecMsg record);

    int updateByPrimaryKey(OnedecMsg record);
}